package com.mizhiquan.pojo;

import java.util.Date;

public class User {
    private String userid;

    private String nickname;

    private String password;

    private Date regTime;

    private String phone;

    private String email;

    private String introduce;

    private Integer role;

    private String portrait;

    private Integer uFrom;

    private String outerId;

    public User(String userid, String nickname, String password, Date regTime, String phone, String email, String introduce, Integer role, String portrait, Integer uFrom,String outerId) {
        this.userid = userid;
        this.nickname = nickname;
        this.password = password;
        this.regTime = regTime;
        this.phone = phone;
        this.email = email;
        this.introduce = introduce;
        this.role = role;
        this.portrait = portrait;
        this.uFrom = uFrom;
        this.outerId = outerId;
    }

    public User() {
        super();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Date getRegTime() {
        return regTime;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce == null ? null : introduce.trim();
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait == null ? null : portrait.trim();
    }

    public Integer getuFrom() {return uFrom;}

    public void setuFrom(Integer uFrom) {this.uFrom = uFrom;}

    public String getOuterId() {
        return outerId;
    }

    public void setOuterId(String outerId) {
        this.outerId = outerId;
    }
}